{% extends 'template.html' %}
{% block content %}
    <div>
        <div class="container">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"> 新建部门 </h3>
                </div>
                <div class="panel-body">
                    <!--表单-->
                    <form method="post"><!--action可以不写，因为不写的话提交的是当前地址-->
                        {% csrf_token %}
                        <div class="form-group">
                            <label> 标题 </label>
                            <input type="text" class="form-control" placeholder="标题" name="title"/>
                        </div>

                        <button type="submit" class="btn btn-primary"> 提交</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
